package com.sgcc.statistics.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

/**
 * OConsPercentage对象 o_cons_percentage
 * 
 * @author sgcc
 * @date 2021-04-15
 */
public class OConsPercentage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private String cdate;

    /** 占比 */
    @Excel(name = "占比")
    private Double percentage;

    /** 占比企业用户占比 */
    @Excel(name = "企业用户占比")
    private Double qyPercentage;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 非企业用户数 */
    @Excel(name = "非企业用户数")
    private Integer userNum;

    /** 企业用户数 */
    @Excel(name = "企业用户数")
    private Integer qyUserNum;

    /** $column.columnComment */
    @Excel(name = "是否删除")
    private Integer isFlag;

    public Integer getQyUserNum() {
        return qyUserNum;
    }

    public void setQyUserNum(Integer qyUserNum) {
        this.qyUserNum = qyUserNum;
    }

    public Integer getUserNum() {
        return userNum;
    }

    public void setUserNum(Integer userNum) {
        this.userNum = userNum;
    }

    public Double getQyPercentage() {
        return qyPercentage;
    }

    public void setQyPercentage(Double qyPercentage) {
        this.qyPercentage = qyPercentage;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setCdate(String cdate)
    {
        this.cdate = cdate;
    }

    public String getCdate()
    {
        return cdate;
    }
    public void setPercentage(Double percentage)
    {
        this.percentage = percentage;
    }

    public Double getPercentage()
    {
        return percentage;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setIsFlag(Integer isFlag)
    {
        this.isFlag = isFlag;
    }

    public Integer getIsFlag()
    {
        return isFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cdate", getCdate())
            .append("percentage", getPercentage())
            .append("unit", getUnit())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("isFlag", getIsFlag())
            .toString();
    }
}
